package com.bort.system.mapper;

import com.bort.system.model.RoleUser;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface RoleUserMapper {

    int deleteByPrimaryKey(Integer id);

    int insertSelective(RoleUser record);

    RoleUser selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(RoleUser record);

    int updateByPrimaryKey(RoleUser record);

    void deleteByUserId(@Param("userId") Integer userId);
}